/**
 * 亿牛集团
 * 本源代码由亿牛集团及其作者共同所有，未经版权持有者的事先书面授权，
 * 不得使用、复制、修改、合并、发布、分发和/或销售本源代码的副本。
 *
 * @copyright Copyright (c) 2017 yiniu.com all rights reserved.
 */

package com.rico.hellowor002.Beans;

import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

import java.util.Date;
import java.util.List;
import java.util.Map;

/**
 * @author yaoyongfeng
 */
@ConfigurationProperties(prefix = "person")
@Component
public class Person {
    private String name;
    private String LastName;
    private Integer age;
    private Boolean bose;
    private Date birth;
    private Map<String, Object> mapItems;
    private List<Object> listItems;
    private Dog dog;

    @Override
    public String toString() {
        return "Person{" +
                "name='" + name + '\'' +
                ", LastName='" + LastName + '\'' +
                ", age=" + age +
                ", bose=" + bose +
                ", birth=" + birth +
                ", mapItems=" + mapItems +
                ", listItems=" + listItems +
                ", dog=" + dog +
                '}';
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getLastName() {
        return LastName;
    }

    public void setLastName(String lastName) {
        this.LastName = lastName;
    }

    public Integer getAge() {
        return age;
    }

    public void setAge(Integer age) {
        this.age = age;
    }

    public Boolean getBose() {
        return bose;
    }

    public void setBose(Boolean bose) {
        this.bose = bose;
    }

    public Date getBirth() {
        return birth;
    }

    public void setBirth(Date birth) {
        this.birth = birth;
    }

    public Map<String, Object> getMapItems() {
        return mapItems;
    }

    public void setMapItems(Map<String, Object> mapItems) {
        this.mapItems = mapItems;
    }

    public List<Object> getListItems() {
        return listItems;
    }

    public void setListItems(List<Object> listItems) {
        this.listItems = listItems;
    }

    public Dog getDog() {
        return dog;
    }

    public void setDog(Dog dog) {
        this.dog = dog;
    }
}
